import request from '@/utils/request'
export default {
    getAllCategory() {
        return request({
            url: `/video/category/getAllCategory`,
            method: 'get',
          })
    },
    addOneCategory() {
        return request({
            url: `/video/category/addOneCategory`,
            method: 'post',
          })
    },
    addTwoCategory(id) {
        return request({
            url: `/video/category/addTwoCategory/${id}`,
            method: 'get',
          })
    },
   
}
